import { Routes, RouterModule } from '@angular/router'
import { ModuleWithProviders } from '@angular/core';
import { SharedContextBrokerDetailComponent } from '../src/shared-context-broker/detail/shared-context-broker-detail.component';
import { AppContextBrokerDetailComponent } from '../src/app-context-broker/detail/app-context-broker-detail.component';

const routes: Routes = [
    { path: 'shared', component: SharedContextBrokerDetailComponent },
    { path: 'app', component: AppContextBrokerDetailComponent },
    { path: '', component: AppContextBrokerDetailComponent },
];

export const AppRouting: ModuleWithProviders = RouterModule.forRoot(routes);